favorite_languages = {
 'jen': 'python',
 'sarah': 'c',
 'edward': 'rust',
 'phil': 'python',
 }
respondents = ['sarah', 'edward', 'alan', 'trump']
for person in respondents:
    if favorite_languages.get(person):
        print(f"Thank you {person.title()}!")
    else:
        print(f"{person.title()}, please participate in the survey.")